load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "lz4",
    srcs = [
        "block.go",
        "debug_stub.go",
        "decode_amd64.go",
        "decode_amd64.s",
        "decode_other.go",
        "errors.go",
        "lz4.go",
        "lz4_go1.10.go",
        "lz4_notgo1.10.go",
        "reader.go",
        "writer.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/pierrec/lz4",
    importpath = "github.com/pierrec/lz4",
    visibility = ["//visibility:public"],
    deps = ["//vendor/github.com/pierrec/lz4/internal/xxh32"],
)
